package cn.xuguowen.user.designPatten.chain_of_responsibility.jdk.filter;

/**
 * ClassName: Filter
 * Package: cn.xuguowen.user.designPatten.chain_of_responsibility.jdk.filter
 * Description: 过滤器接口
 *
 * @Author 徐国文
 * @Create 2023/6/2 17:40
 * @Version 1.0
 */
public interface Filter {
    /**
     * 过滤方法
     * @param request   请求对象
     * @param response  响应对象
     * @param chain     过滤器链
     * @return
     */
    void doFilter(Request request,Response response,FilterChain chain);
}
